package com.ccb.sc.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-25
 */
@Data
@ApiModel
public class OrderUpdateVo {

    @NotBlank(message = "订单id不能为空")
    @ApiModelProperty("订单id")
    private String orderId;

    @NotNull
    @ApiModelProperty("收货地址id")
    private Long receiverId;

    @ApiModelProperty("使用积分余额")
    private Integer balance = 0;

    @ApiModelProperty("使用余额")
    private BigDecimal amountBalance = BigDecimal.ZERO;

    @ApiModelProperty("订单备注")
    private String memos = "";
}
